package com.simon.nvwo.modules.rmi;

import java.rmi.Remote;
import java.rmi.RemoteException;


/**
 * 远程调用接口demo，必须继承{@link java.rmi.Remote},必须抛出{@link java.rmi.RemoteException }
 * @author zhaoyi
 *
 */
public interface IHello extends Remote{
	
	/**
	 * 
	 * @return helloworld
	 * @throws RemoteException
	 */
	public String helloWorld() throws RemoteException;
	
	/**
	 * @param somebodyname
	 * @return hello
	 * @throws RemoteException
	 */
	public String sayHelloToSmoneBody(String somebodyname) throws RemoteException;
}
